package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("productOrder")
public class ProductOrder {
      @TableId(value = "id",type = IdType.AUTO)
      private Long id;
      @TableField("sellPrice")
      private Double sellPrice;
      @TableField("orderNum")
      private String orderNum;
      @TableField("num")
      private Integer num;
      @TableField("productNum")
      private String productNum;
      @TableField("productName")
      private String productName;
      @TableField(exist = false)
      private ProductBean productBean;
      @TableField("size")
      private String size;
      @TableField("color")
      private String color;
      @TableField("productType")
      private String productType;
}
